let obj = {
  name: '涛涛',
  age: '17',
}

let p = new Proxy(obj, {
  get(target, propName) {
    return Reflect.get(target, propName);
  },
  set(target, propName, value) {
    console.log('出发了set方法');
    Reflect.set(target, propName, value);
  }
})

p.age = 21;
console.log(p.name);
// console.log(p);